package org.dev.vlp.config.mail;

import lombok.Data;

/**
 * Description
 * Param
 * return
 * Author:86184
 * Date: 2023/1/3
 */
@Data
public abstract class BaseMailConfig {
    private Long repeat;
    private String from;
    private int timeout;
    private String template;
    private String subject;

    BaseMailConfig(){
        init();
    }
    private void init() {
        this.subject = subject();
    }

    abstract String subject();
}
